]> dgit.raspbian.org Git - gnome-shell.git/commit
extensionSystem: Only add to extensionOrder array if enabling worked
authorJonas Dreßler <verdre@v0yd.nl>
Mon, 9 Sep 2019 14:07:32 +0000 (16:07 +0200)
committerFlorian Müllner <florian.muellner@gmail.com>
Thu, 12 Sep 2019 10:24:49 +0000 (10:24 +0000)
commit9698ff491a3b1f2518a8710051211495cdfd4e2f
treef184c16989512d76f247db8aab6fd681d2820224
parent2a9e065cfb896d0405e8011907d41125b4b6b4a7
extensionSystem: Only add to extensionOrder array if enabling worked

Only push uuids of newly enabled extensions to the `_extensionOrder`
array if enabling them was successful.

Otherwise, since `_callExtensionDisable()` doesn't remove uuids that
weren't successfully enabled from the array, those extensions get added
to the array multiple times when they're disabled and enabled.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/96
js/ui/extensionSystem.js